package com.example.vehiclemanagesystem.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.time.LocalTime;

@Entity
public class Reback {
    @Id
    private Integer client_id;
    private Integer server_id;
    private String re_message;
    private LocalTime r_time;

    public Reback(Integer client_id, Integer server_id, String re_message, LocalTime r_time) {
        this.client_id = client_id;
        this.server_id = server_id;
        this.re_message = re_message;
        this.r_time = r_time;
    }

    public Reback() {

    }

    public Integer getClient_id() {
        return client_id;
    }

    public Integer getServer_id() {
        return server_id;
    }

    public String getRe_message() {
        return re_message;
    }

    public LocalTime getR_time() {
        return r_time;
    }

    public void setClient_id(Integer client_id) {
        this.client_id = client_id;
    }

    public void setServer_id(Integer server_id) {
        this.server_id = server_id;
    }

    public void setRe_message(String re_message) {
        this.re_message = re_message;
    }

    public void setR_time(LocalTime r_time) {
        this.r_time = r_time;
    }
}
